﻿/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【数据权限】
==================================================================
*/

namespace Entities
{
    /// <summary>
    /// 数据权限
    /// </summary>
    [SugarTable("glo.RegulatorData")]
    public partial class RegulatorData
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "RegulatorDataID")]
        public int RegulatorDataID { get; set; }
        
        /// <summary>
        /// 监管部门
        /// </summary>
        [SugarColumn(ColumnName = "RegulatorID")]
        public int RegulatorID { get; set; }
        
        /// <summary>
        /// 省
        /// </summary>
        [SugarColumn(ColumnName = "ProvinceID")]
        public int ProvinceID { get; set; }
        
        /// <summary>
        /// 市
        /// </summary>
        [SugarColumn(ColumnName = "CityID")]
        public int? CityID { get; set; }
        
        /// <summary>
        /// 县
        /// </summary>
        [SugarColumn(ColumnName = "AreaID")]
        public int? AreaID { get; set; }
        
        /// <summary>
        /// 是否为系统建立
        /// </summary>
        [SugarColumn(ColumnName = "IsSystem")]
        public bool IsSystem { get; set; }
        
        /// <summary>
        /// 父节点ID
        /// </summary>
        [SugarColumn(ColumnName = "ParentID")]
        public int ParentID { get; set; }
    }
}
